package com.chanzany.visitor.case2;

//具体元素
public class Cat extends Animal {
    @Override
    void accept(Person p) {
        p.feed(this);
        System.out.println("喵喵..");
    }
}
